package com.li.springbootproject.test;


import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/4/2022 3:54 PM
 */
@Table(name = "b_group")
public class BGroup extends BaseColumn {

    @IsKey
    @Column(name = "ID", type = MySqlTypeConstant.VARCHAR, length = 36)
    private String id;

    @Column(name = "GROUP_NAME", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String groupName;

    @Column(name = "GROUP_CODE", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String groupCode;

    @Column(name = "PARENT_ID", type = MySqlTypeConstant.VARCHAR, length = 36)
    private String parentId;

    @Column(name = "USABLE", type = MySqlTypeConstant.INT)
    private Integer usable;

    @Column(name = "TYPE", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String type;


}
